<?php
/**
 * Created by IntelliJ IDEA
 * Author: 张伯发
 * Date  : 2019/11/1
 * Time  : 10:35
 */

namespace App\Http\Controller;


use App\Common\JsonResponse;
use Swoft\Http\Server\Annotation\Mapping\Controller;
use Swoft\Http\Server\Annotation\Mapping\RequestMapping;

/**
 * Class HealthController
 * @Controller()
 * @author 张伯发 2019/11/1 10:35
 */
class HealthController
{

    /**
     * @RequestMapping("/health")
     * @author 张伯发 2019/11/1 10:35
     */
    public function index()
    {
        return JsonResponse::S('check success');
    }
}
